package com.hyh.admin.domain.im;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.hyh.ad.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/*
 * 联系人用户表
 */
@Data
@ApiModel(value = "ContactUsers对象", description = "联系人用户表")
public class ImFollowers extends BaseEntity implements Serializable {

        /*
        * 用户id
        */
        @ApiModelProperty(value = "用户id")
        @JsonSerialize(using = ToStringSerializer.class) // 防止前端精度丢失

        private Long userId;

        /*
        * 联系人id
        */
        @ApiModelProperty(value = "联系人id")
        @JsonSerialize(using = ToStringSerializer.class) // 防止前端精度丢失

        private Long contactId;

        /*
        * 联系人状态
        */
        @ApiModelProperty(value = "联系人状态")
        private String status;

        /*
        * 联系人分组
        */
        @ApiModelProperty(value = "联系人分组")
        private String group;
}
